package com.lecture.essence.demo04;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Demo04 {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("classpath-scanning.xml");
        FXNewsProvider bean = applicationContext.getBean(FXNewsProvider.class);
        System.out.println(bean);
    }
}
